ModifySecurityCheckScheduleConfig
Description
Call the ModifySecurityCheckScheduleConfig interface to set the automatic detection time of cloud platform configuration check items, such as setting a certain time period of a specific day every week to automatically perform full check.
Request Method
POST
Request Path
/apsara/route/aegis/ModifySecurityCheckScheduleConfig
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
DaysOfWeek | BODY | string | No | 1,2,3 | detection period, which can be from Monday to Sunday. multiple days are supported, separated by commas. 1: Monday 2: Tuesday 3: Wednesday 4: Thursday 5: Friday 6: Saturday 7: Sunday |
SourceIp | BODY | string | No | 1.2.3.4 | access source IP address. |
EndTime | BODY | integer | No | 12 | detection end time. 0: end detection at 00:00-6:00 6: end detection at 6:00-12:00 12: end detection at 12:00-18:00 18: end detection at 18:00-24:00 |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
StartTime | BODY | integer | No | 6 | detection start time. 0: start detection at 00:00-6:00 6: start detection at 6:00-12:00 12: start detection at 12:00-18:00 18: start detection at 18:00-24:00 |
Lang | BODY | string | No | zh | the language type of the request and receive message. zh: Chinese en: English |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 48D2E9A9-A1B0-4295-B727-0995757C47E9 | request ID of the result. |
Example
Successful Response example
{
"RequestId":"48D2E9A9-A1B0-4295-B727-0995757C47E9"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}